/*
 *  Copyright 2020-2025 the original author or authors.
 *  You cannot use this file unless authorized by the author.
 */

package org.ipig.model;

import lombok.Data;
import lombok.ToString;
import org.ipig.constants.DataCnst;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 请在此处添加注释
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id$$
 * @since 1.0
 */
@Data
@ToString
public class MetadataConf implements Serializable {
    //编码
    private String code = "";
    //名称
    private String name = "";
    /*    private String nameLowerCamel;
        private String nameUpperCamel;
        private String nameUnderline;*/
    //所属领域
    private String domain;
    //类型代码
//    private String type;
    //数据类型
    private String dataType;
    //取值范围正则
    private String valueRegex;
    //取值范围说明
    private String valueNotes;
    //调试标识 默认关闭
    private Boolean debugEnable = Boolean.valueOf(false);
    //逻辑删除标识
    private String deletedFlag = DataCnst.FLAG_NORMAL;
    //createTime
    private String createTime;
    //creatorId
    private String creatorId;
    //modifyTime
    private String modifyTime;
    //modifierId
    private String modifierId;
    // 其它属性
    private Map<String, Object> props = new HashMap<String, Object>();
}
